import Opt from '@/components/dt/info/Opt.js'

class RoomOpt extends Opt {

  constructor(info, type) {
    super(info)
    this.type = type
    this.build()
  }

  build() {
    this.createAll()
    this.opts.push(...this.all)
  }

  createAll() {
    this.all = [{
      title: '姓名',
      key: 'name',
      text: {},
      col: 8
    },
    {
      title: '工号',
      key: 'workNo',
      text: {},
      col: 8
    },
    {
      title: '手机号',
      key: 'phone',
      text: {},
      col: 8
    }, ]
  }
}

export default RoomOpt